/**
 * 
 */
package com.neal.domain;

import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author Neal
 * @version 1.0
 * @description
 */
public class Book implements Serializable {

	private static final long serialVersionUID = -5555180024951118740L;

	private String isbn;
	private String name;
	private String author;
	private Date publishDate;

	public Book() {
	}

	/**
	 * @param isbn
	 * @param name
	 * @param author
	 * @param publishDate
	 */
	public Book(String isbn, String name, String author, Date publishDate) {
		this.isbn = isbn;
		this.name = name;
		this.author = author;
		this.publishDate = publishDate;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

}
